package com.my.study.design.decorator.coffee;

import com.my.study.design.decorator.Drink;

/**
 * @author Carlos
 * @version 1.0
 * @Description 缓冲层
 * @date 2021/7/18 18:27
 **/
public class Coffee extends Drink {


    @Override
    protected float cost() {
        return super.getPrice();
    }
}
